/**
* gdk_screen_width:
- *
- * Returns the width of the default screen in pixels.
- *
+ *
+ * Gets the width of the default screen in pixels. The returned
+ * size is in ”application pixels”, not in ”device pixels” (see
+ * gdk_screen_get_monitor_scale_factor()).
+ *
* Returns: the width of the default screen in pixels.
**/
gint
/**
* gdk_screen_height:
- *
- * Returns the height of the default screen in pixels.
- *
+ *
+ * Gets the height of the default screen in pixels. The returned
+ * size is in ”application pixels”, not in ”device pixels” (see
+ * gdk_screen_get_monitor_scale_factor()).
+ *
* Returns: the height of the default screen in pixels.
**/
gint
/**
* gdk_screen_width_mm:
- *
+ *
* Returns the width of the default screen in millimeters.
* Note that on many X servers this value will not be correct.
- *
+ *
* Returns: the width of the default screen in millimeters,
* though it is not always correct.
**/
/**
* gdk_screen_height_mm:
- *
+ *
* Returns the height of the default screen in millimeters.
* Note that on many X servers this value will not be correct.
- *
+ *
* Returns: the height of the default screen in millimeters,
* though it is not always correct.
**/
* gdk_screen_get_width:
* @screen: a #GdkScreen
*
- * Gets the width of @screen in pixels
+ * Gets the width of @screen in pixels. The returned size is in
+ * ”application pixels”, not in ”device pixels” (see
+ * gdk_screen_get_monitor_scale_factor()).
*
* Returns: the width of @screen in pixels.
*
* gdk_screen_get_height:
* @screen: a #GdkScreen
*
- * Gets the height of @screen in pixels
+ * Gets the height of @screen in pixels. The returned size is in
+ * ”application pixels”, not in ”device pixels” (see
+ * gdk_screen_get_monitor_scale_factor()).
*
* Returns: the height of @screen in pixels.
*
* the monitor geometry
*
* Retrieves the #GdkRectangle representing the size and position of
- * the individual monitor within the entire screen area.
+ * the individual monitor within the entire screen area. The returned
+ * geometry is in ”application pixels”, not in ”device pixels” (see
+ * gdk_screen_get_monitor_scale_factor()).
*
* Monitor numbers start at 0. To obtain the number of monitors of
* @screen, use gdk_screen_get_n_monitors().
* the monitor workarea
*
* Retrieves the #GdkRectangle representing the size and position of
- * the “work area” on a monitor within the entire screen area.
+ * the “work area” on a monitor within the entire screen area. The returned
+ * geometry is in ”application pixels”, not in ”device pixels” (see
+ * gdk_screen_get_monitor_scale_factor()).
*
* The work area should be considered when positioning menus and
* similar popups, to avoid placing them below panels, docks or other